package lesson17.cars;

public class CarDemo {

	public static void main(String[] args) 
	{
		Jeep jeep = new Jeep();
		jeep.model = "Grand Cherokee";
		jeep.startEngine();
		jeep.switch4x4();
		
		SportsCar lambo = new SportsCar();
		System.out.println();
		lambo.model = "Diablo";
		lambo.switchTurbo();
		
		jeep.accelerate(500);
		lambo.accelerate(500);
		
		System.out.println();
		System.out.println(jeep.toString());
		System.out.println(lambo.toString());
	}

}
